<template>
	<svg class="icon" aria-hidden="true">
		<use :xlink:href="icon" :style="{ color }"></use>
	</svg>
</template>

<script lang="ts">
import { defineComponent } from "vue";

export default defineComponent({
	props: {
		icon: String,
		color: String,
	},
	mounted() {
		console.log("111", this.color);
	},
});
</script>
